local gamelib = require "club.threecard.gamelib"

local game = gamelib.game.new({
    package = "club.threecard.scibo",
    libs = {
        baccaratlib = "club.threecard.baccaratlib"
    },
    on_start = function(self)
        local entrances = require "club.threecard.scibo.overried_entrance.entrances"
        self.game_scene.overried_entrance(entrances)
        self.ui.init_routes()
    end,
    on_started = function(self)
        self.audio.post("scibo:background")
        if self.reconnection.fast_resume() then
            return
        end
        self.router.go("/club.threecard.scibo/main")
    end
})

return game